package com.music.entity;



import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (CmUser)实体类
 *
 * @author makejava
 * @since 2020-12-13 14:05:09
 */
@Data
public class CmUser implements Serializable {
    private static final long serialVersionUID = 174040552268011552L;

    private Integer uId;

    private Integer uaId;

    private String uTel;

    private String uPass;

    private String uName;

    private String uDesc;

    private String uSex;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date uBirth;

    private String uAddr;

    private String uPic;

    private Integer uStatus;

    public Integer getUaId() {
        return uaId;
    }

    public void setUaId(Integer uaId) {
        this.uaId = uaId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuTel() {
        return uTel;
    }

    public void setuTel(String uTel) {
        this.uTel = uTel;
    }

    public String getuPass() {
        return uPass;
    }

    public void setuPass(String uPass) {
        this.uPass = uPass;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getuDesc() {
        return uDesc;
    }

    public void setuDesc(String uDesc) {
        this.uDesc = uDesc;
    }

    public String getuSex() {
        return uSex;
    }

    public void setuSex(String uSex) {
        this.uSex = uSex;
    }

    public Date getuBirth() {
        return uBirth;
    }

    public void setuBirth(Date uBirth) {
        this.uBirth = uBirth;
    }

    public String getuAddr() {
        return uAddr;
    }

    public void setuAddr(String uAddr) {
        this.uAddr = uAddr;
    }

    public String getuPic() {
        return uPic;
    }

    public void setuPic(String uPic) {
        this.uPic = uPic;
    }

    public Integer getuStatus() {
        return uStatus;
    }

    public void setuStatus(Integer uStatus) {
        this.uStatus = uStatus;
    }

    public CmUser(Integer uId, String uTel, String uPass, String uName, String uDesc, String uSex, Date uBirth, String uAddr, String uPic, Integer uStatus) {
        this.uId = uId;
        this.uTel = uTel;
        this.uPass = uPass;
        this.uName = uName;
        this.uDesc = uDesc;
        this.uSex = uSex;
        this.uBirth = uBirth;
        this.uAddr = uAddr;
        this.uPic = uPic;
        this.uStatus = uStatus;
    }

    public CmUser() {
    }
}